package com.sky.mapper;

import com.sky.entity.DishFlavor;
import lombok.extern.slf4j.Slf4j;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;


public interface DishFlavorMapper {

    /**
     * 批量插入口味列表数据
     * 
 * @param dishFlavorList
     * @return
     * @author heiheiheng
     * @create 2025/7/17
     **/
    void insertBatch(List<DishFlavor> dishFlavorList) ;

    /**
     * 删除口味
     *
 * @param dishId
     * @return
     * @author heiheiheng
     * @create 2025/7/18
     **/
    void deleteBatch(List<Long> dishId);
/**
 * 根据id查询菜品口味列表
 * 
 * @param id
 * @return
 * @author heiheiheng
 * @create 2025/7/18
 **/
    List<DishFlavor> selectByDishId(Long dishId);

    /**
     * 根据ID删除菜品
     *
 * @param dishId
     * @return
     * @author heiheiheng
     * @create 2025/7/18
     **/
    void deleteByDishId(Long dishId);
}
